<p id="notice"><%= notice %></p>

<h1>Enents</h1>

<table>
  <thead>
    <tr>
      <th>Artist</th>
      <th>Description</th>
      <th>Price from</th>
      <th>To</th>
      <th>Event date</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @enents.each do |enent| %>
      <tr>
        <td><%= enent.artist %></td>
        <td><%= enent.description %></td>
        <td><%= enent.price_low %></td>
        <td><%= enent.price_high %></td>
        <td><%= enent.event_date %></td>
        <td><%= link_to 'Show', enent %></td>
        <td><%= link_to 'Edit', edit_enent_path(enent) %></td>
        <td><%= link_to 'Destroy', enent, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Enent', new_enent_path %>
